import CryptoJS from "crypto-js"

export const AESEncrypt = (str, sk) => {
    return CryptoJS.AES.encrypt(str, sk).toString()
}

export const AESDecrypt = (str, sk) => {
    return CryptoJS.AES.decrypt(str, sk).toString(CryptoJS.enc.Utf8)
}
